﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication3
{
    class Class1
    {
        private const int COEF = 3;

        public static double MultiplyBy3(double value)
        {
            var a = 0;
            if (a < 10)
            {
                a++;
                a--;
            }
            return value * COEF;
        }


        static void ain()
        {
            var res = Calculator.MultiplyBy3(3);
            if (res < 0)
            {
                throw new Exception();
            }
            else
            {
                int i = 0;
                i++;
            }
        }

    }
}
